/* 优惠券 */
body {
    background: url(//www.dpfile.com/s/c/user/skins/default/i/bg.a1af512….jpg) 50% 30px no-repeat #fdfbef;
    color: #555;
}
.coupon {
    display: inline-flex;
    color: white;
    position: relative;
    margin: 1rem;
    /** 这里不能用百分号，因为百分号是分别相对宽和高计算的，会导致弧度不同  */
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
    height: 120px;
    overflow: hidden;
}
.coupon-yellow {
    background-color: #F39B00;
}
.coupon-yellow-gradient {
    background-image: linear-gradient(150deg, #F39B00 50%, #F39B00D8 50%);
}
.coupon-red-gradient {
    background-image: linear-gradient(150deg, #D24161 50%, #D24161D8 50%);
}
.coupon-green-gradient {
    background-image: linear-gradient(150deg, #7EAB1E 50%, #7EAB1ED8 50%);
}
.coupon-blue-gradient {
    background-image: linear-gradient(150deg, #50ADD3 50%, #50ADD3D8 50%);
}
/* 左边框的波浪 */
.coupon-wave-left::before, .coupon-wave-right::after{
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 14px;
    background-image: radial-gradient(white 0, white 4px, transparent 4px);
    /** 如果只设置为半径的两倍(直径)，那么半圆之间没有类似堤岸的间隔 */
    background-size: 14px 14px;
    background-position: 0 2px;
    background-repeat: repeat-y;
    z-index: 1;
}
.coupon-wave-left::before {
    left: -7px;
}
.coupon-wave-right::after {
    right: -7px;
}
.coupon-info {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
    min-width: 15rem;
}
.coupon-info-right-dashed {
    border-right: 2px dashed white;
}
.coupon-info-right-solid {
    border-right: 2px solid white;
}
/* 使用两个边框为圆角的白色div制造半圆缺角，有个缺点是这个缺角必须与背景色相同（clip-path不好弄） */
.coupon-hole::before, .coupon-hole::after {
    content: '';
    width: 1rem;
    height: 1rem;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    right: -.5rem;
}
.coupon-info::before {
    top: -.5rem;
}
.coupon-info::after {
    bottom: -.5rem;
}
.coupon-info>div {
    margin-bottom: .2rem;
}
.coupon-price {
    font-size: 250%;
    font-weight: bold;
}
.coupon-price>span {
    font-size: 40%;
    margin-left: .5rem;
    font-weight: normal;
}
.coupon-get {
    padding: 1rem;
    /** 这里使用flex是为了让文字居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 5rem;
    position: relative;
    color: #fff;
    font-size: 17px;
}
.coupon-get>.coupon-desc {
    font-size: 150%;
    margin-bottom: .5rem;
    font-weight: bold;
}
.coupon-get-already::after {
    content: '';
    width: 5rem;
    height: 5rem;
    background-size: 5rem 5rem;
    background-image: url('');
    position: absolute;
    top: -1rem;
    right: -1rem;
}




/* 优惠券 */
.set-coupon h1{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 15px;
}
.set-coupon .set-meal-coupon{
    width: 98%;
    height: 60%;
    margin-left: 15px;
}
/* 优惠促销 */
.set-meal h1{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 15px;
}
.set-meal .set-meal-list{
    width: 98%;
    height: 60%;
    margin-left: 15px;
}
.set-meal .set-meal-list li{
    width: 48%;
    height: 90px;
    margin-right: 12px;
    border: 1px solid #ebebeb;
    float: left;
}
.set-meal .set-meal-list li:hover{
    border: 1px solid rgb(255,107,55);
}
.set-meal .set-meal-list li a:hover{
    color: #333;
}
.set-meal .set-meal-list li img{
    width: 120px;
    height: 100%;
    float: left;
}
.set-meal .set-meal-list li h2{
    font-size: 18px;
    margin: 10px 0 15px 130px;
}
.set-meal .set-meal-list li label{
    margin-left: 10px;
}
.set-meal .set-meal-list li label span{
    font-size: 12px;
}
.set-meal .set-meal-list li .set-mea-price{
    margin-top: 25px;
}
.set-meal .set-meal-list li .now-price .mark{
    font-size: 16px;
}
.set-meal .set-meal-list li .now-price span{
    font-size: 24px;
    color: rgb(255,107,55);
}
.set-meal .set-meal-list li .had-sell{
    margin-left: 50px;
}
.set-meal .set-meal-list li .tuan{
    border-radius: 3px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    margin: 10px 15px 0 0;
    color: #fff;
    background-color: rgb(255,107,55);
    float: right;
}